package designPatterns.com.course_design.scrapy.http.response;

/**
 * @projectName DesignPattern
 * @className com.scrapy.http.response.ScrapyResponse
 * @description
 */

public class ScrapyResponse implements Response {
    private String url;
    private String method;
    private int status;
    private String body;
    private String header;

    @Override
    public String getUrl() {
        return url;
    }

    @Override
    public void setUrl(String url) {
        this.url = url;
    }

    @Override
    public String getMethod() {
        return method;
    }

    @Override
    public void setMethod(String method) {
        this.method = method;
    }

    @Override
    public int getStatus() {
        return status;
    }

    @Override
    public void setStatus(int status) {
        this.status = status;
    }

    @Override
    public String getBody() {
        return body;
    }

    @Override
    public void setBody(String body) {
        this.body = body;
    }

    @Override
    public String getHeader() {
        return header;
    }

    @Override
    public void setHeader(String header) {
        this.header = header;
    }
}
